<!--{eval $_TPL['titles'] = array($fieldtitle, '班级');}-->
<!--{template header}-->

<div class="searchbar floatright">
<form method="get" action="space.php">
	<input name="searchkey" value="" size="15" class="t_input" type="text">
	<input name="searchsubmit" value="搜索班级" class="submit" type="submit">
	<input type="hidden" name="searchmode" value="1" />
	<input type="hidden" name="do" value="class" />
	<input type="hidden" name="view" value="hot" />
</form>
</div>
<h2 class="title"><img src="image/app/mtag.gif">班级</h2>

<!--{if $space[self]}-->
<div class="tabs_header">
	<ul class="tabs">
		<li><a href="space.php?uid=$space[uid]&do=threadclass"><span>班级话题</span></a></li>
		<li><a href="space.php?do=class&view=me"><span>我参与的班级</span></a></li>
		<li><a href="space.php?do=class&view=manage"><span>我管理的班级</span></a></li>
		<li class="active"><a href="space.php?do=class&view=hot"><span>热门班级</span></a></li>
		<li><a href="space.php?do=class&view=recommend"><span>推荐班级</span></a></li>
		<li class="null"><a href="cp.php?ac=threadclass">发起新话题</a></li>
		<li class="null"><a href="cp.php?ac=mtagclass">创建班级</a></li>
	</ul>
</div>
<!--{/if}-->

<div class="h_status">
班级校区：
<a href="space.php?do=class&view=hot"{$sub_actives[0]}>全部</a>
<!--{loop $_SGLOBAL['profieldclass'] $value}-->
<span class="pipe">|</span><a href="space.php?do=class&id=$value[fieldid]"{$sub_actives[$value[fieldid]]}>$value[title]</a>
<!--{/loop}-->
</div>

<div class="box">
	<!--{if $list}-->
	<ul class="thread_list">
	<!--{loop $list $value}-->
		<li>
			<div class="threadimg60"><a href="space.php?do=class&tagid=$value[tagid]"><img src="$value[pic]" style="width:60px;"></a></div>
			<a href="space.php?do=class&tagid=$value[tagid]">$value[tagname]</a><br />
			已有 <span class="num">$value[membernum]</span> 人加入
			<div class="gray">
				话题: $value[threadnum], 回帖: $value[postnum]
			</div>
		</li>
	<!--{/loop}-->
	</ul>
	<div class="page">$multi</div>
	<!--{else}-->
	<p>还没有班级。</p>
	<!--{/if}-->
</div>

<!--{template footer}-->
